/***************************************************************
 * Name:      Globals.h
 * Purpose:   Defines the Global objects used in GanitSheets
 * Author:    Milind Gupta (milind.gupta@gmail.com)
 * Website:   https://code.google.com/p/ganitsheets/
 * Created:   2011-03-02
 * Copyright: Milind Gupta ()
 * License:   Apache License 2.0
 **************************************************************/

#ifndef __GANITS_GlOBALS_H
#define __GANITS_GLOBALS_H

#include <wx/wx.h>
#include "lua.hpp"
#include "LuaInterface.h"
#include "CoreStructs.h"
#include "common.h"
#include <string>

extern lua_State* luaVM;   // The Lua Virtual Machine that all GanitSheets functions will use
extern wxDateTime::TZ currTZ;          // To hold the current Time Zone
extern std::string luaInitFile;         // To hold the name of the lua file to run on initialization
extern std::string appEnvName;
extern unsigned int logLength;
extern struct shtSize defaultSheetSize;

#define VERSION     "1.11.03.26"

#define GSDEBUG1    1

#endif
